<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>grid 3</title>
		<style>
		.fa{
			width: 600px;
			height: 600px;
			display:grid;
			background-color:pink;
		}
		
		.child{
			width: 150px;
			height: 150px;
			background-color: #008000;
			align-self: center;
			justify-self: center;
			text-align: center;
		}
		</style>
	</head>
	<body>
		<div class="fa">
			<div class="child">水平垂直居中3</div>
		</div>
	</body>
</html>
